let url;

if (process.env.NODE_ENV === 'production') {
	url = 'http://wx.liechubang.com/liechubang-api/api'; // 生产地址
	// url = 'http://wx-test.by-health.com/cook/api';
}

if (process.env.NODE_ENV === 'development') {
	url = './api'; // 开发代理http://wx-test.by-health.com地址
}

if (process.env.NODE_ENV === 'sit') {
	url = ''; // 测试环境地址
}

export const apiUrl = url;

export const authUrl = 'http://wx.liechubang.com/liechubang-api/oauth/jump';
// export const authUrl = 'http://wx-test.by-health.com/cook/oauth/jump';

export const wechatInfo = {
	appId: 'wxb425b33623e260d4',
	jsApiList: ['chooseImage','uploadImage'],
	title: '猎厨帮',
	link: `${authUrl}`,
	imgUrl: 'http://wx-test.by-health.com/web/cooker/assets/cooker.png',
	desc: '好厨师，好工作尽在猎厨帮'
};

